<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" 				prefix="c" %>

<link rel="stylesheet" href="styles/form-input.css" type="text/css" media="all" />
<link type="text/css" rel="stylesheet" href="js/jquery/css/ui-lightness/jquery-ui-1.8.16.custom.css"/>
<script type="text/javascript" src="js/jquery/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jquery/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
   		$("button").button();
 		});
</script>
	
	<div class="error-text"><s:actionerror /></div>
	<div class="error-text"><s:fielderror /></div>
	<div class="message-text"><s:actionmessage /></div>
	
	<div align="center">
		<s:form theme="simple" method="POST" action="report02">
			<s:hidden name="jakarta" value="%{jakarta}"/>
			<fieldset style="width:400px">
				<legend><h3>SLA Summary Report</h3></legend>
				<br>
				<div align="left">
					Account Open Date	
					<table cellpadding="7">
						<tr></tr>
						<tr></tr>
						<tr></tr>
						<tr>
							<td>Month</td><td><s:select name="selectedMonth" list="#{1:'JANUARY', 2:'FEBRUARY', 3:'MARCH', 4:'APRIL', 5:'MAY', 6:'JUNE', 7:'JULY', 8:'AUGUST', 9:'SEPTEMBER', 10:'OCTOBER', 11:'NOVEMBER', 12:'DECEMBER'}" headerKey="-1" headerValue="Select Month"/>*</td>
						</tr>
						<tr>
							<td>Year</td><td><s:select name="selectedYear" list="years" headerKey="-1" headerValue="Select Year"/>*</td>
						</tr>
						<tr>
							<c:if test="${jakarta=='1'}">
								<td>Area</td><td><s:select name="areaId" list="areaMap" headerKey="-1" headerValue="All Branch"/></td>
							</c:if>
							<%--
							<c:if test="${jakarta=='-1'}">
								<td>Area</td><td><s:select name="areaId" list="areaMap" headerKey="-1" headerValue="All Area"/></td>
							</c:if>
							 --%>
						</tr>
					</table>
				</div>
				<br>
				<div align="center">
					<s:submit type="button">GENERATE</s:submit>
				</div>
				<br>				
			</fieldset>	
		</s:form>
	</div>